﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class warnLogin : System.Web.UI.Page
{
    static string prev = String.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (!String.IsNullOrEmpty(Request.UrlReferrer.ToString()))
            {
                prev = Request.UrlReferrer.ToString();
                Session["TrangTruoc"] = prev;
               
            }
            else
            {
                Session["TrangTruoc"] = null;
            }
        }
    }
}